package fu.capstone.hanoicityguide.business.bo.tour;

import android.content.Context;
import fu.capstone.hanoicityguide.business.model.Tour;
import fu.capstone.hanoicityguide.dataaccess.tour.TourDAO;
import fu.capstone.hanoicityguide.dataaccess.tour.TourDAOImp;

public class TourBOImp implements TourBO {

	private Context context;

	private TourDAO dao;

	public Context getContext() {
		return context;
	}

	public void setContext(Context context) {
		this.context = context;
	}

	public TourBOImp() {

	}

	public TourBOImp(Context ctx) {
		this.context = ctx;
		dao = new TourDAOImp(context);
	}

	@Override
	public Tour browseTour(int tourId) {
		// TODO Auto-generated method stub
		return dao.browseTour(tourId);
	}

}
